package com.skt.common_hr.search.events
{
	import com.skt.common_hr.search.model.vo.SearchConditionVO;
	
	import flash.events.Event;

	public class SearchEvent extends Event
	{
		public static const HR_SEARCH:String = "HRSearch";
		public static const DETAIL_SEARCH:String = "DetailSearch";
		
		public var keyword:String;
		public var condition:SearchConditionVO;
		
		public function SearchEvent(type:String, keyword:String, condition:SearchConditionVO=null)
		{
			super(type, false, false);
			this.keyword = keyword;
			this.condition = condition;
		}
		
		public override function clone():Event
		{
			return new SearchEvent(type, keyword, condition);
		}
	}
}